//
//  Utils.swift
//
//  Copyright © 2016-2019 Twilio, Inc. All rights reserved.
//

import Foundation
import AVKit
struct ScreenUtils{
    static func getWidth() -> CGFloat{
        return UIDevice.current.userInterfaceIdiom == .pad ? (UIApplication.shared.keyWindow?.bounds.size.width ?? 0.00) : UIScreen.main.bounds.width
    }
    
    static func getHeight() -> CGFloat{
        return UIDevice.current.userInterfaceIdiom == .pad ? (UIApplication.shared.keyWindow?.bounds.size.height ?? 0.00) : UIScreen.main.bounds.height
    }
}
